<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<!--此页面用于测试 非最终渲染页面-->
<head>
    <meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Title</title>
    <link rel="stylesheet" href="/css/layui.css"  media="all">
    <link rel="stylesheet" href="/css/user.css" media="all">
    <link type="text/css" rel="stylesheet" href="/css/LiteWebChat_Frame/litewebchat.css">
    <link rel="stylesheet" href="/css/index.css">
    <script src="/js/jquery-3.1.1.min.js"></script>
    <script src="/js/layui.js" charset="utf-8"></script>
    <script src="/js/lay.js"></script>
    <script src="/js/public.js"></script>
    <script src="/js/admin.js"></script>
    <script src="/js/jQueryRotate.js"></script>
    <script src="/js/turntable.js"></script>
</head>
<body>
<div>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
    <legend>宗门用户首页</legend>
</fieldset>
<ul class="layui-nav" lay-bar="disabled">
    <li class="layui-nav-item">
        <a onclick="f();function f() {
                   user = null;
                   token = null;
                   location.href = base_url+'/login';
                   }">重新登录<span class="layui-badge-dot"></span></a>
    </li>
    <li class="layui-nav-item">
        <a onclick="shop()">仙宗商店<span class="layui-badge-dot"></span></a>
    </li>
    <li class="layui-nav-item">
        <a onclick="">我的消息<span class="layui-badge">99</span></a>
    </li>
    <li class="layui-nav-item"  style="float: right" lay-unselect="">
        <a href="javascript:;"><img src="//t.cn/RCzsdCq" class="layui-nav-img"></a>
        <dl class="layui-nav-child">
            <dd><a onclick="">星辰殿</a></dd>
            <dd><a onclick="">藏书阁</a></dd>
            <hr>
            <dd style="text-align: center;"><a href="">退出</a></dd>
        </dl>
    </li>
</ul>
</div>


<div style="margin-top: 10px" class="layui-tab layui-tab-brief" lay-filter="demo">
    <ul class="layui-tab-title">
        <li class="layui-this">宗门轮播</li>
        <li>宗门抽奖转盘</li>
        <li>宗门抢红包</li>
        <li>剑艺堂</li>
        <li>剑神殿</li>
        <li>世界聊天</li>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <div class="layui-carousel" id="test1">
                <div carousel-item>
                        <div><img src="image/2.png"></div>
                    <div><img src="/image/3.png"></div>
                    <div><img src="/image/4.png"></div>
                    <div><img src="/image/5.png"></div>
                    <div><img src="/image/6.png"></div>
                </div>
            </div>
        </div>
        <div class="layui-tab-item">
                <!--    抽奖大转盘        -->
            <div class="content">
                <div class="wheel">
                    <canvas class="item" id="wheelCanvas" width="422px" height="422px"></canvas>
                    <img class="pointer" src="/image/turntable/wheel-pointer.png"/>
                </div>
            </div>
            <div class="tips" >
                <span id="tip">无奖品</span>
            </div>
        </div>
        <div class="layui-tab-item">
           123
        </div>
        <div class="layui-tab-item">
            <div class="layui-upload-drag" id="uploadDemo">
                <i class="layui-icon"></i>
                <p>点击上传，或将文件拖拽到此处</p>
                <div class="layui-hide" id="uploadDemoView">
                    <hr>
                    <img src="" alt="上传成功后渲染" style="max-width: 100%">
                </div>
            </div>
        </div>

        <div class="layui-tab-item">
            <div id="sliderDemo" style="margin: 50px 20px;"></div>
        </div>

        <div class="layui-tab-item">
            <center>
            <div style="width:auto;height:auto; background-color: #B5FFF8" class="lite-chatbox" id="chatAll">
            </div>
            <div style="padding-bottom: 10px">
            <textarea id="sendChatAll" placeholder="请输入申请内容" style="width:1980px;" class="layui-textarea" ></textarea>
            </div>
            <br/>
            <div>
                <button type="button" onclick="sendMsgAll()" class="layui-btn layui-btn-normal">发送</button>
                <button type="button" onclick="clearChartAll()" class="layui-btn layui-btn-normal">清空内容</button>
                <button type="button" onclick="ceshi22()" class="layui-btn layui-btn-normal">测试杠精回复</button>
            </div>
        </center>
    </div>
</div>


<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="more">更多 <i class="layui-icon layui-icon-down"></i></a>
</script>
<div class="bottom">
    <center>
        <ul>
            <li onclick="character()">
                <img src="/image/user/rw.png"  />
            </li>
            <li onclick="house();">
                <span><p>仓库</p></span>
            </li>
            <li onclick="knapsack()">
                <span><p>背包</p></span>
            </li>
            <li onclick="showGoogfa(1);">
                <span><p>功法</p></span>
            </li>
            <li onclick="pets(1)">
                <span><p>宠物</p></span>
            </li>
            <li onclick="mount(1)">
                <span><p>坐骑</p></span>
            </li>
            <li onclick="friends(1)">
                <span><p>朋友列表</p></span>
            </li>
            <li onclick="task(1)">
                <span><p>任务</p></span>
            </li>
            <li onclick="email(1)">
                <span><p>邮箱</p></span>
            </li>
        </ul>
    </center>
    <input id="user" type="hidden" th:value="${user}" />
    <input id="token" type="hidden" th:value="${token}" />
</div>
</div>
</body>
<script src="/js/user.js"></script>
</html>